<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta http-equiv="refresh" content="60">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>个人中心 - 期金管家</title>
    <!-- Bootstrap CSS -->
<!--    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
          integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">

    <link rel="stylesheet" href="/static/home/css/common.css">-->
    <style type="text/css">


        .personalHome .row {
            margin-left: 0;
            margin-right: 0;
            padding-left: 0;
            padding-right: 0;
        }

        .personalHome .row .col-md-9 {
            margin-left: 0;
            margin-right: 0;
            padding-left: 0;
            padding-right: 0;
        }

        .recharge {
            padding: 8px 50px;
        }

        .transferOut {
            padding: 8px 50px;
        }

        .moneyMan img {
            float: left;
            border-right: 1px solid #ccc;
            padding-right: 10px;
            margin-right: 10px;
        }
    </style>
</head>
<body>
<!--HEADER-->
{include file="Public/header"/}
<!--HEADER-->

<div class="container personalHome">
    <div class="row">
        {include file="Public/readme"/}
        <div class="col-md-9">
            <ul class="nav nav-tabs mb-4" role="tablist">
                <li class="nav-item">
                    <a class="nav-link bg-dark text-white active" href="#home" role="tab" data-toggle="tab">个人中心</a>
                </li>
            </ul>
            <div class="tab-content row">

                <div class="col-md-2 text-center">
                    <img src="/static/home/images/imgHead.jpg" class="img-fluid"/>
                </div>
                <div class="col-md-8">
                    <p>账号：{$ste.phonenumber}<br/>
                        姓名：{$ste.name}<br/>
                        最后登录：{$time.logintime}</p>
                </div>
                <div class="col-md-12 row">
                    <div class="col-md-12 h4 nav-link bg-dark text-white">余额账户管理</div>

                    <div class="col-md-4 col-6 mb-2">
                        <a href="/home/Recharge/recharge" class="btn btn-primary mb-2 recharge">充值</a>
                        <div class="h6">可用余额：<b class="text-danger">{$ste.balance}</b>元</div>
                    </div>
                    <div class="col-md-4 col-6 mb-2">
                        <a href="/home/Deposit/deposit" class="btn btn-success mb-2 transferOut">提现</a>
                        <div class="moneyMan">
                            <img src="http://www.lcqjgj.com/static/home/images/fontt.jpg">
                            <span>提现申请<br><b class="text-danger">{$str}</b>元&nbsp;&nbsp;</span>
                        </div>
                        <div class="moneyMan mt-3" style="clear:both;">
                            <img src="http://www.lcqjgj.com/static/home/images/fontz.jpg">
                            <span>待付款<br><b class="text-danger">{$strr}</b>元&nbsp;&nbsp;</span>
                        </div>
                    </div>
                </div>
            </div>


            <div class="col-md-12 row mt-4">
                <div class="col-md-12 nav-link bg-dark text-white mb-2">
                    <b class="h4">国内期货账户管理</b>
                    <a href="/home/Cashlog/enter" class="float-right text-white mt-1">查看出入金明细</a>
                </div>
                {if condition="$ste['assetaccount'] != '' and $ste['assetaccount'] != '00000'"}
                <div class="col-md-4 col-6 mb-2">
                    <a href="/home/Futures/golden"  class="btn btn-primary recharge mb-2">划入</a>
                </div>
                <div class="col-md-4 col-6 mb-2">
                    <a href="/home/Futures/withdraw" class="btn btn-success transferOut mb-2">划出</a>
                </div>
            <!-- <hr class="col-md-12" />-->
              <!--  <div class="col-md-12 h6">入金审核金额：<b class="text-danger">0.00</b>元，出金审核金额：<b class="text-danger">0.00</b>元</div>-->
                <hr class="col-md-12" />

                <div class="col-md-4 mb-2 h6 mb-4">
                    操盘总金额：<b class="text-danger">{$data.Balance}</b>元<br /><br />自有资金（劣后）：<b class="text-danger">{$data.Margin}</b>元
                </div>
                <div class="col-md-4 mb-2 h6">
                    账户名　：{$ste.assetaccount}<br /><br />账户密码：{$ste.password}
                </div>
              {else /}
                     <a href="/home/Openanaccount/index"  class="btn btn-primary recharge mb-2">开户</a>
                {/if}

                <div class="col-md-12 h6"></div>
                <div class="col-md-12 h6"></div>
            </div>

        </div>


    </div>

</div>
</div>
<br/><br/><br/><br/><br/>
<!--footer-->
{include file="Public/footer"/}
<!--footer-->

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<!--<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
        integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
        crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
        integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
        crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"
        integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
        crossorigin="anonymous"></script>

<script src="js/personal_head_menu.js"></script>-->
<script type="text/javascript" src="/static/home/js/validate/jquery.validate.js"></script>
<script type="text/javascript" src="/static/home/js/validate/additional-methods.js"></script>
</body>
</html>


<!--
<script>
    $("#setinfoForm").validate({
        rules: {
            setinfoUserName: {
                required: false,
                minlength: 11,
                isMobile: true
            },
            setinfoSmsCode: {
                required: true,
                minlength: 6,
                maxlength: 6
            },
            setinfoNewtel: {
                required: true,
                minlength: 11,
                isMobile: true
            },
            setinfoNewSmsCode: {
                required: true,
                minlength: 6,
                maxlength: 6
            },
            setinfoUserPassword: {
                required: true,
                minlength: 6,
                maxlength: 16
            },
            setinfoUserConfirmPassword: {
                equalTo: "#setinfoUserPassword"
            }
        },
        messages: {
            setinfoUserName: {
                required: "请输入手机号",
                minlength: "长度为11位",
                isMobile: "请正确填写您的手机号码"
            },
            setinfoSmsCode: {
                required: "请输入验证码",
                minlength: "输入6位验证码",
                maxlength: "输入6位验证码"
            },
            setinfoNewtel: {
                required: "请输入新手机号",
                minlength: "长度为11位",
                isMobile: "请正确填写您的手机号码"
            },
            setinfoNewSmsCode: {
                required: "请输入验证码",
                minlength: "输入6位验证码",
                maxlength: "输入6位验证码"
            },
            setinfoUserPassword: {
                required: "请输入密码",
                minlength: "最少6位",
                maxlength: "最多16位"
            },
            setinfoUserConfirmPassword: {
                required: "请再次输入密码",
                minlength: "密码长度不能小于 6 位",
                equalTo: "两次密码输入不一致"
            }
        },


    });
    // 手机号码验证
    jQuery.validator.addMethod("isMobile", function (value, element) {
        var length = value.length;
        var mobile = /^(13[0-9]{9})|(18[0-9]{9})|(14[0-9]{9})|(17[0-9]{9})|(15[0-9]{9})$/;
        return this.optional(element) || (length == 11 && mobile.test(value));
    }, "请正确填写您的手机号码");
    //60S获取验证码
    $("#setinfoBtnSmsCode").click(function () {
        if ($("#setinfoUserName").valid() != "") {
            setinfoSettime(this)
        }
    });
    var setinfoCount = 60;

    function setinfoSettime(obj) {
        if (setinfoCount == 0) {
            obj.removeAttribute("disabled");
            obj.value = "免费获取验证码";
            setinfoCount = 60;
            return;
        } else {
            obj.setAttribute("disabled", true);
            obj.value = "重新发送(" + setinfoCount + ")";
            setinfoCount--;
        }
        setTimeout(function () {
                setinfoSettime(obj)
            }
            , 1000)
    }

    $("#setinfoNewBtnSmsCode").click(function () {
        if ($("#setinfoNewtel").valid() != "") {
            setinfoNewSettime(this)
        }
    });
    var setinfoNewCount = 60;

    function setinfoNewSettime(obj) {
        if (setinfoNewCount == 0) {
            obj.removeAttribute("disabled");
            obj.value = "免费获取验证码";
            setinfoNewCount = 60;
            return;
        } else {
            obj.setAttribute("disabled", true);
            obj.value = "重新发送(" + setinfoNewCount + ")";
            setinfoNewCount--;
        }
        setNewTimeout(function () {
                setinfoNewSettime(obj)
            }
            , 1000)
    }
</script>-->
